package designPattern.Decorator;

//具体的装饰者类
public class SugarDecroator extends Decroator {
    public SugarDecroator(Drink drink) {
        super(drink);
    }
    @Override
    public float cost() {
        return super.cost()+1f;
    }
    @Override
    public String desc() {
        return super.desc()+"+糖";
    }
}